package cn.wolfcode.wolf2world.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 攻略评论
 * @author 杨兴健
 * @Date 2020/8/16 10:01
 */
@Getter
@Setter
@Document("strategy_comment")
public class StrategyComment extends BaseDomain{
    //攻略id
    private String strategyId;
    //攻略标题
    private String strategyTitle;
    //用户id
    private String userId;
    //用户名称
    private String nickname;
    //城市
    private String  city;
    //等级
    private Integer level;
    //头像
    private String headImgUrl;
    //评论时间
    private Date createTime;
    //评论内容
    private String content;
    //点赞数
    private Integer thumbUpNum;
    //点赞的用户id集合
    private List<String> thumbUpList = new ArrayList<>();
}
